package com.yi.zsb.handler;

import java.util.ArrayList;
import java.util.List;

import javax.xml.ws.handler.Handler;
import javax.xml.ws.handler.HandlerResolver;
import javax.xml.ws.handler.PortInfo;
import javax.xml.ws.handler.soap.SOAPHandler;

public class HandlerChain implements HandlerResolver {

	List<Handler> list = new ArrayList<Handler>();
	
	//构造函数的时候初始化
	public HandlerChain(){
		list.add(new Studenthandler());
	}
	
	@SuppressWarnings("unchecked")
	@Override
	public List<Handler> getHandlerChain(PortInfo port) {		
		return list;
	}

}
